<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit">
    <!-- 避免IE使用兼容模式 -->
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link th:href="@{/layui/css/layui.css}" rel="stylesheet">
    <title>首页</title>
</head>
<style>
    /*使二级菜单向右偏移*/
    .layui-nav-child dd {
        left: 15px !important;
    }

    .layui-tab-item {
        height: 100%;
    }

    .layui-icon {
        margin-right: 5px;
    }
</style>
<body>
<div class="layui-layout layui-layout-admin">
    <div class="layui-header">
        <div class="layui-logo layui-hide-xs layui-bg-black">管理平台</div>
        <!-- 头部区域（可配合layui 已有的水平导航） -->
        <ul class="layui-nav layui-layout-left">
            展开/收缩
        </ul>
        <ul class="layui-nav layui-layout-right">
            <li class="layui-nav-item layui-hide layui-show-sm-inline-block">
                <a href="#">
                    <img src="//unpkg.com/outeres@0.0.10/img/layui/icon-v2.png" class="layui-nav-img">
                    重楼
                </a>
                <dl class="layui-nav-child">
                    <dd><a href="#">用户信息</a></dd>
                    <dd><a href="#">设置</a></dd>
                    <dd><a href="#">登出</a></dd>
                </dl>
            </li>
            <li class="layui-nav-item" lay-header-event="menuRight" lay-unselect>
                <a href="#">
                    <i class="layui-icon layui-icon-more-vertical"></i>
                </a>
            </li>
        </ul>
    </div>
    <div class="layui-side layui-bg-black">
        <div class="layui-side-scroll">
            <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
            <ul class="layui-nav layui-nav-tree" lay-filter="id_left_nav">
                <li class="layui-nav-item layui-nav-itemed">
                    <a class="" href="#">
                        <i class="layui-icon layui-icon-set"></i>系统设置
                    </a>
                    <dl class="layui-nav-child">
                        <dd>
                            <a href="#" lay-id="1001" th:attr="url=@{/views/system/codegen}">
                                <i class="layui-icon layui-icon-fonts-code"></i>代码生成
                            </a>
                        </dd>
                        <dd>
                            <a href="#" lay-id="1002" th:attr="url=@{/views/system/templateGroupIndex}">
                                <i class="layui-icon layui-icon-read"></i>模板组管理
                            </a>
                        </dd>
                        <dd>
                            <a href="#" lay-id="1003" th:attr="url=@{/views/system/templateIndex}">
                                <i class="layui-icon layui-icon-template-1"></i>模板管理
                            </a>
                        </dd>
                        <dd>
                            <a href="#" lay-id="1004" th:attr="url=@{/views/system/dictTypeIndex}">
                                <i class="layui-icon layui-icon-template-1"></i>枚举值管理
                            </a>
                        </dd>
                    </dl>
                </li>
                <li class="layui-nav-item">
                    <a href="#">电商ERP-交易管理</a>
                    <dl class="layui-nav-child">
                        <dd>
                            <a href="#" lay-id="2001" th:attr="url=@{/views/sales/mallOrderList1}">
                                <i class="layui-icon layui-icon-fire" style="color: red"></i>商城订单列表1
                            </a>
                        </dd>
                    </dl>
                </li>
            </ul>
        </div>
    </div>
    <div class="layui-body">
        <!-- 内容主体区域 -->
        <div class="layui-tab layui-tab-card" lay-filter="id_main_tab" lay-allowclose="true" style="height: 100%;">
            <ul class="layui-tab-title">
                <li class="layui-this" lay-id="11">首页</li>
            </ul>
            <div class="layui-tab-content" style="height: 92%;">
                <div class="layui-tab-item layui-show">
                    <div class="layui-container">
                        首页内容
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- 引入 layui.js -->
<script th:src="@{/layui/layui.js}"></script>
<script th:src="@{/laypro/index/index.js}"></script>
</body>
</html>

